{literal} 
<script src="./web/js/nicEdit.js" type="text/javascript"></script>
<script type="text/javascript">bkLib.onDomLoaded(function() {
	new nicEditor().panelInstance('perex');
	new nicEditor().panelInstance('content');
});
</script>
{/literal}
<h2>Nový článek</h2>
<form method="POST">
	<p>
		Perex:<br />
		<textarea name="perex" id="perex" style="width: 100%;"></textarea><br />
		Obsah:<br />
		<textarea name="content" id="content" style="width: 100%;"></textarea><br />
	</p>
	<input type="submit" name="create" />
</form>